


function  denglu() {


    var uname=$("input[name=t_Username]").val();
    var upwd=$("input[name=t_Password]").val();
        console.log(uname)
    if(uname.length==0){
        attr("用户名不能为空")

        return;
    }else if(upwd.length==0){
        attr("密码不能为空")
        return;
    }else{
        $.ajax({
            url:"login/login?t_Username="+uname+"&t_Password="+upwd,
            type:"post",
            processData:false,
            success:function(data){
                if(data.result){
                    window.open("login/shouye","_parent")
                }else{
                    attr("账号密码错误！")
                }
            }
        })
    }


}